<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 模块-编辑  -->
<input id="id"   type="hidden" name="id" value="${entity.id}"/>
<div class="form-group notnull">
	<div class="form-label w36">模块名称</div>
	<div class="form-editor w64">
		<input type="text" id="name" name="name"  class="easyui-textbox" data-options="novalidate:'true',required:true,missingMessage:'模块名称不能为空',value:'${entity.name}'"  />
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">模块级别</div>
	<div class="form-editor w64">
		<input id="lvlVO" name="lvlVO" class="easyui-numberbox" data-options="disabled:true,novalidate:'true',required:true,missingMessage:'模块级别不能为空',value:'${entity.lvl}'"    />
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">controller</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="controlle_address" name="controlle_address" data-options="novalidate:'true',required:true,missingMessage:'controller地址不能为空',value:'${entity.controlle_address}'" /></input>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">模块图标</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="icon" name="icon" data-options="novalidate:'true',required:true,missingMessage:'模块图标不能为空',value:'${entity.icon}'" /></input>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">序号</div>
	<div class="form-editor w64">
		<input  id="order_num" name="order_num" class="easyui-numberbox" data-options="novalidate:'true',required:true,missingMessage:'序号不能为空',value:'${entity.order_num}' " />
	</div>
</div>
<div class="form-group notnull" >
	<div class="form-label w36">模块类型</div>
	<div class="form-editor w64">
		<select class="easyui-combobox"   id="type" name="type" dataType="Require" msg="模块类型不能为空">
			<c:forEach items="${moduleTypeList}" var="typeDomain">
				<option   value="${typeDomain.column_value}"${typeDomain.column_value == entity.type?"selected='selected'" :''}  >${typeDomain.column_content}</option>
			</c:forEach>
		</select>
	</div>
</div>


<div class="form-group notnull">
	<div class="form-label w36">操作级别</div>
	<div class="form-editor w64">
		<select class="easyui-combobox"  id="level" name="level" data-options="novalidate:'true',required:true,missingMessage:'模块操作级别不能为空'" >
			<c:forEach items="${moduleLevelList}" var="levelDomain">
				<option value="${levelDomain.column_value}"${typeDomain.column_value == entity.level?"selected='selected'" :''}>${levelDomain.column_content}</option>
			</c:forEach>
		</select>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">关键模块</div>
	<div class="form-editor w64">
		<input class="easyui-radiobox" name="key_modular" data-options="label:'否'" value="N" ${'Y' != entity.key_modular?"checked='checked'":''}>
		<input class="easyui-radiobox" name="key_modular" data-options="label:'是'" value="Y" ${'Y' == entity.key_modular?"checked='checked'":''} >
	</div>
</div>
<div class="form-group-two notnull" style="height: 60px;" >
	<div class="form-label w36 h-two">模块URL</div>
	<div class="form-editor w64">
		<textarea  id="url" name="url" dataType="Require" msg="模块URL不能为空" class="w-auto h-auto"  >${entity.url}</textarea>
	</div>
</div>
<div class="form-group-two notnull" style="height: 60px;">
	<div class="form-label w36 ">URL规则</div>
	<div class="form-editor w64" >
		<textarea  id="url_pattern" name="url_pattern" dataType="Require" msg="URL规则不能为空" class="w-auto h-auto"  >${entity.url_pattern}</textarea>
	</div>
</div>
<div class="form-group-two notnull" style="height: 60px;">
	<div class="form-label w36 " >HTML内容</div>
	<div class="form-editor w64">
		<textarea  id="htm_content" name="htm_content" dataType="Require" msg="HTML内容不能为空" class="w-auto h-auto"  >${entity.htm_content}</textarea>
</div>
<div class="form-group-two " style="height: 60px;">
	<div class="form-label w36   ">备注</div>
	<div class="form-editor w64">
		<textarea  id=" remark" name=" remark"  class="w-auto h-auto"  >${entity.remark}</textarea>
	</div>
</div>
</div>